File upload initial stages