Upload file fix