Added support for files edited on a mac (cr line termination)

added support for mac line termination carriage return only