check uploaded files