added more string and file functions