first problem is that the code you posted does not really begin to address the problem specified. Please make an effort to show that you
to convert .htm to .html and fufill the other requirements. Your example appears to check if files are directories, but there are a few errors in that code, as this task should require recursion, or preferably use a File:: module.