testing work for writing to fiule