edited FileParser to provide working build() method