VirtualFile (@NotNull ApplyPatchContext context, final String fileName) { String[] pathNameComponents = fileName.split("/"); int lastComponentToFind = pathNameComponents.length; return findFileToPatchByComponents(context, pathNameComponents, lastComponentToFind); }