Using the project.file() method rather than the pedantic new File().