Add dependency versions. Fix check of accepted file formats.