func to cycle themes on a file.