testing paths of files and folders