Remove unnecessary code

`project_file` always `nil`