checks all files in folder