pass file to process in cmdline