Added showline method and fixed formatting in lines method (for long filenames)