Changed folder to file param