Clean up extra white space.
Add a learnfp function to learn AIMLs from file like objects.