Modify Less2: implemented reading from file