Issue #1: added threading for filestatus