fixed multiple file parsing