Saving integer field capabilities in l2gen and removed tinyifile dependency call in l2gen