fixed parse file to include control object