Made input file as argument instead of variable