Fixes issue #1
Make use of a getFile helper method