Moved file input processing to the cli commands
Added new API to the docs
Bumped version to 0.2.2