Changes to getFile() to reflect comment by @neuroscr [Ryan Tharp(ryantharp)]