add samples directory with fwriter.py