Adding directory functionality to gcs