error handling in case wrong data/ folder is set or skip.txt doesn't exist