Read keyboard configuration txt file function