[Home](./index.md) > [bitburner](./bitburner.md) > [Singularity](./bitburner.singularity.md) > [getOwnedSourceFiles](./bitburner.singularity.getownedsourcefiles.md) ## Singularity.getOwnedSourceFiles() method If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled. Returns an array of source files Signature: ```typescript getOwnedSourceFiles(): SourceFileLvl[]; ``` Returns: [SourceFileLvl](./bitburner.sourcefilelvl.md)\[\] Array containing an object with number and level of the source file. ## Remarks Singularity - Level 3