started generalisation to all files and folders