writing sample files