Mark passed file as uploaded