Basal worker class for detect a new file