got python file text load function to work