Upload files testing & improvements

maybe ``isValidMethod``?