properly determine metadata and editions file paths and test for existence