Added logic to change config/content path based on file path.