Allow environment to define top-level directory
Safety check to ensure proper pwd before unlinking files