only files of json and md type are processed