partial working uploadNewFile