Fix file upload function and Bump version to 1.4