Add support for php and dos encoded files