Move file parsing to EPL