linearlizing file