File Proxy - removed commented out code and added content type only in case of update profile photo