Passing file as argument