fixes #30 check FileAPI compatibility