Remove fstream-ignore and reimplement ProjectType.getValidFiles