New API. Corrected file versioning