dirscanner: storing regular files implemented