Renamed variables. Code cleanup.
Added a check to see if the specified file exits.
Merge pull request #6 from theantichris/view-file-checks

View file checks