testing dirs and filenames