add some additional file utility methods