file cleanup
file reference cleanup