Class references and fileops