Allowing file type extension in file upload tool