Parser entities to new file