Hi a file with qvs extension is just a text file with a different extension. These files contain QlikView script which can be called for with an include statement, i.e. $(Include=FilePathAndName).
These QVS files need to follow the same QlikView scripting rules to work, as QV just imports the content of these files when the script reloads. The underlying rationale for using these files is leveraging shared QV scripts over multiple documents, thereby making these QVSs a one-stop shop to effect changes on a piece of script that is shared over multiple QVWs.