Added file utility methods