forgot declaration of contentFile
remove dead code