Fix bug - wrongfile ext.