cleanup of some functions in FileHandler trait.
function renames to avoid keyword clashes.