Remove unused helper method

We moved all the filesystem stuff to the ImageFiles module.