give priority to uploaded file