File upload and management