removed duplicated directive (input-file-directive). clearFile method exposed