Check if AssemblyInfo file exists before deletion