fixed wrong file arg bug