<!-- Do not edit this file. It is automatically generated by API Documenter. --> [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. <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