Ensure that we pass filepath to compile