Updating files.get to use params