refactor age and size conversions
refactor rm dir and fix error messages