Making .txt for jpg folders