cli: Performed some cleanup with file usage. inf samples is broken.

Major TODO items include:
    Fixing inf tx/rx (Need to read back state in while()'s for inf case)
    Removing requirement that rx n=X, X must be multiple of 1024