group pdf and codes into folders