I add a protection to not try to upload a file that does not exist