Part of file uploading and picture parsing implementation