saving word to file
lenght control