Guessing that fn_to_docid is to strip filename to hour portion