fix mocking of files in dev config