Added support for special files "-" as placeholder for stdin/stdout