remove deprecated getFile methods