Fix parser for files