error handling for missing file
invalid flag test passing
cleanup