code: private static boolean parentExists(Resource res) {
  	res = res.getParentResource();
  	return res != null && res.exists();
      }
docs: return if parent file exists
  
  @param res file to check
  @return parent exists?