Add some utility method for file usage