jpg = string.find(file(os.path.join(root,fname), 'rb').read(), 'JFIF') Should this file be closed after reading? If so, how would one close it? What's the downside to not closing it?