Corrected checking for actual new uploaded file