<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [NS](./bitburner.ns.md) &gt; [getOwnedSourceFiles](./bitburner.ns.getownedsourcefiles.md)

## NS.getOwnedSourceFiles() method

Get a list of acquired Source-Files.

<b>Signature:</b>

```typescript
getOwnedSourceFiles(): SourceFileLvl[];
```
<b>Returns:</b>

[SourceFileLvl](./bitburner.sourcefilelvl.md)<!-- -->\[\]

Array containing an object with number and level of the source file.

## Remarks

RAM cost: 5 GB

Returns an array of source files