The files are uploaded with extension in the name

Аccording to Parse.com:
'It's important that you give a name to the file that has a file extension. This lets Parse figure out the file type and handle it accordingly.'