fixed type of directive for DisableLibwsdiff
removed childInit and now check if the file is open