moving from file to function with spellit()