Extracted SaveFileRoutine thread to separate class to avoid clash with
suspend flags