pass filename to parser