get line from file name