Helper function added for FileHandles.