rename MAX_FILE_SIZE to MAX_PHOTO_SIZE