improved file resolution mechanism with 'assumed directories' mechanism