(refactoring) Fix FileNotFound exception when reading project's files