1. A computer implemented method for obtaining file-level information from block level information of files stored on a storage medium, the method comprising: accessing the storage medium to obtain metadata available in block level on the storage medium and building an inverse block-to-file map of the files stored on the storage medium; listening online to incoming block-level commands communicated from a host to the storage medium, parsing the incoming block-level commands and inferring file-level information from the parsed block level commands; and updating the inverse block-to-file map.