just made it automatically calculate route upon file upload