Project file handling fix