Adding tags that render empty, but are needed by Rails
Added Root link and url
Allow the yielding of flash message
Catch file errors and continue