[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [getOwnedSourceFiles](./bitburner.ns.getownedsourcefiles.md)
## NS.getOwnedSourceFiles() method
Get a list of acquired Source-Files.
Signature:
```typescript
getOwnedSourceFiles(): SourceFileLvl[];
```
Returns:
[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