code cleanup
add a test case that verifies the fileAge functionality