Allowed personal function to accept a nested directory