Utility to help with file manipulations