Skip to content
PD
Browser Automation Studio

The File System Module in BAS

The File System module in Browser Automation Studio — read and write files, manage folders, move and copy, search, and bridge files with lists.

Most bots touch the disk: they read a list of accounts, save scraped data, organise downloaded images. The File System module is built to make that file and folder work simple.

What it’s for

The module exists to simplify working with files on your computer. It bundles the everyday operations: read a file, write to a file, get information about a file or folder, create and delete folders, move files and folders, copy files, read or write a file as a list, and search for files. If your task involves text files, images or folders, you’ll lean on this module constantly.

The actions, grouped

Reading and writing.

  • Read file / Write to file — pull text out of a file or save text into one.
  • Read file into a list / Write list to file — load a file so each line becomes a list element, or dump a list back to disk. This is the bridge between stored data and the data your bot works on in memory.

Folders and organisation.

  • Create folder / Delete file or folder — set up and clean out directories.
  • Move file or folder / Copy file — organise output, archive results, stage files for the next step.

Inspecting.

  • Get info about a file or folder — check existence, size or other details before acting.
  • File search — find files matching a pattern, useful for processing whatever landed in a downloads folder.

Where it fits

The File System module is the local-storage half of a bot’s I/O. Input often starts as a file you read into a list; output ends as files you write, move and organise. For input that must be distributed safely across many threads, reach for the Resources module instead — but for plain reading, writing and organising files on one machine, this module is the tool.

FAQ

How do I read input data from a file in BAS?

Use the File System module to read a file, or read a file straight into a list so each line becomes an element. For run-wide input distributed across threads, pair it with the Resources module.

Can BAS create, move and delete folders?

Yes. The File System module includes actions to create and delete folders, move files and folders, and copy files — everything you need to organise the output a bot produces.

More on this topic

  • #Browser Automation Studio
  • #BAS
  • #Files
  • #Folders
  • #Storage

Have an idea? Let’s turn it into a working product.

Skip months of uncertainty. Get a clear architecture, a working MVP and a system you can test, sell and scale.