Updated the FilesRoutingController so that it adds a file as a request attribute instead of the absolute path.
Updated the FileController to use the custom smt File type.
Removed some copy repetition around getting an attribute from the request object.