Refactor code into separate routines for directory and file status. Put time format into a constant.
Refactor code into separate routines for directory and file status. Put time format into a constant.

materials-commons/mcstore,materials-commons/mcstore,materials-commons/mcstore