Added possibility to set hash algorithm for uploaded filenames. Some changes in UploadFile interface