Fix bug Content-2264: when there is no File component defined in manifest for module files, we also need try to read ResourceFile component to get the module folder.