Removes adding ".yaml" to file if it is not explicit