I have a StreamPlayer that handles all the enviroment music via signals with the track name as argument.

The plan is calling a text file with the same name too which contains an array with beat time marks but i dont see any method to get or save files from a given resource path, so i cant progress on neither of both functions.
I know it is possibe in GDScript but i dont know how to code aside from visual scripting, i have seen other VS limitations on so simple things like calling a singleton varible , getting a single element from an array based on index, the little documentation that it has...; that im considering getting to learn GDScript, but the visual interface is so intuitive for me that i wold love some help to figure out these things :)
Thanks in advance!