now reading all files from a directory