removed upload check in delete files