sub directory support added
comments added