handle resources in the root folder