Allow passing path to status file, decode a given mask