filescan implemented in constructor