debug file processing