rhbz965890 use params method in FileService

    Not using the params from the upload form yet as there is a
    conflict in the current API module. There is a small change
    to make after the API module conflict is complete.
remove excess whitespace