make resource-file a source-file