> For the complete documentation index, see [llms.txt](https://docs.bdb.ai/data-science-lab-3/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bdb.ai/data-science-lab-3/project/tabs-for-a-data-science-lab-project/tabs-for-tensorflow-and-pytorch-environment/notebook/notebook-page/notebook-operations/files.md).

# Files

Users will be allotted a Data folder in each Data Science Lab project to create files, folders and upload a file into the dedicated Data Sandbox location

{% hint style="info" %}
*Check out the given walk-through on how to add a file or folder and upload a file in the given Data folder provided for each Projects.*
{% endhint %}

{% embed url="<https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2F2LGuEcZsWItVmsdoBQSu%2FFiles%20Operation.mp4?alt=media&token=30064c21-f3d9-4289-bd68-0045247dc0b1>" %}
***Using the Files Operation***
{% endembed %}

## Accessing the Files Tab

* Navigate to a ***Notebook*** page.&#x20;
* Open the ***Files*** tab.
* A folder named ***Data*** appears by default under the Files tab.
* Click on the ***Ellipsis*** icon provided for the Data.

<figure><img src="https://2587201349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2F4ErRyXOJ2MfwIOyIKe3w%2Fimage.png?alt=media&amp;token=4abff49d-4359-4ebc-9834-5719f2a6afcd" alt=""><figcaption></figcaption></figure>

* A context menu appears with the following options:
  * Add file
  * Add folder
  * Copy path
  * Import

&#x20;      ![](https://2587201349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2F9YO7FJTxeZBIOnhzLlE1%2Fimage.png?alt=media\&token=71d60b15-59ca-4e1b-b316-ce036281ddf5)

{% hint style="info" %}
*<mark style="color:green;">Please Note:</mark> The user can select any one option to insert it as a part of Files to the selected Project.*
{% endhint %}

## Various Options Provided under the Files Tab

### Adding a File

* Navigate to the context menu provided for the dedicated folder ***Data*** under the ***Files*** tab.
* Click the ***Add file*** option from the context menu.

<figure><img src="https://2587201349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2Fm9A3vxghHwdLIQigqUca%2Fimage.png?alt=media&amp;token=988141a6-4c31-4fd4-b685-c47f0b930b74" alt=""><figcaption></figcaption></figure>

* The ***Add file*** dialog box appears.
* Provide a name for the file.
* Click the ***Yes*** option.

<figure><img src="https://2587201349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2FDrY3sHi1aLSnavjvfO8Q%2Fimage.png?alt=media&amp;token=daf46fbe-edf5-47fb-868d-f6f324fab01c" alt=""><figcaption></figcaption></figure>

* A notification message appears.
* The file gets added under the ***Data*** folder.

<figure><img src="https://2587201349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2FdefIHl7knMfYuLNvwjMk%2Fimage.png?alt=media&amp;token=26d2d6e2-486d-4658-8918-15a70f6e5dca" alt=""><figcaption></figcaption></figure>

### Adding Folder

* Navigate to the context menu provided for the dedicated folder ***Data*** under the ***Files*** tab.
* Click the ***Add folder*** option from the context menu.

&#x20;       ![](https://2587201349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2FqFHQizOsX1Jhz6PGabtJ%2Fimage.png?alt=media\&token=77724e0e-c68e-4319-a90a-8bf43a5ad442)     &#x20;

* The ***Add folder*** dialog box appears.
* Provide a name for the folder.
* Click the ***Yes*** option.

&#x20;      ![](https://2587201349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2F31pxkDVqBb025DSwfu04%2Fimage.png?alt=media\&token=45cc2621-4b03-400f-900e-4462f59577c0)

* A notification message appears.
* The folder gets added under the ***Data*** folder.

<figure><img src="https://2587201349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2FD5JxZFKmTUKFcH8vjOsP%2Fimage.png?alt=media&amp;token=87c7d5b1-e2f1-4b90-81bf-13ce276bee1a" alt=""><figcaption></figcaption></figure>

### Using the Copy path

* Navigate to the context menu provided for the dedicated folder ***Data*** under the ***Files*** tab.&#x20;

OR&#x20;

The user can also access the Copy Path option from an added ***File*** inside the ***Files*** option (As displayed in the given image).&#x20;

* Click the ***Copy Path*** option from the context menu.&#x20;
* A code cell gets an autogenerated code for the copy path. The code will contain the project number and&#x20;

<figure><img src="https://2587201349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2Fzd46mlx3ZCK2I2ntV0hb%2Fimage.png?alt=media&amp;token=de6333c5-b66a-4500-af0d-9ccae03fac74" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
*<mark style="color:green;">Please Note</mark>: The "**Copy path**" feature allows the user to quickly and accurately reference these files in your code, ensuring that your scripts can access the necessary data and resources.*
{% endhint %}

### Import Option

The **Import** option is provided to import files into the dedicated Sandbox folder (Data) inside the Data Science Notebook.

* Navigate to the context menu provided for the dedicated folder ***Data*** under the ***Files*** tab.
* Click the ***Import*** option from the context menu.

&#x20;     ![](https://2587201349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2FgMf5A96Cn1TPzvnGdgB8%2Fimage.png?alt=media\&token=b496169b-cc12-465a-8e4c-df65b769379f)

* Select and import a file from the system.

<figure><img src="https://2587201349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2FL7WqdToB6iL9tRL72cwG%2Fimage.png?alt=media&amp;token=ccdd90bb-831a-477f-8b56-a564245f6e6b" alt=""><figcaption></figcaption></figure>

* A notification message appears.
* The selected file gets imported.

<figure><img src="https://2587201349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2FQYnIN3QzBcRgIkT9O2pJ%2Fimage.png?alt=media&amp;token=850f57fb-3ed7-4f97-9255-e5d939b92ca2" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
*<mark style="color:green;">Please Note:</mark> Refer the* [***Data Science Lab Quick Start Flow*** ](https://docs.bdb.ai/data-science-lab-3/data-science-lab-quick-start-flow)*page to get an overview of the **Data Science Lab** module in nutshell.*&#x20;
{% endhint %}
