File upload initial code