Use resourceFilePath for copyFileCompiler

Closes #117