A simple file scanner