simple usage example for file