remove hash validate in file resource