For the future: instead of static method we should add a constructor to OCFile that accepts a RemoteFile as second parameter.