Fixed upload function file path