Added calling close function in files that had not closed
Added calling close function in files that had not closed

rodrigofaccioli/drugdesign,rodrigofaccioli/drugdesign,rodrigofaccioli/drugdesign,rodrigofaccioli/drugdesign