vsm.validFile.RdA valid VSM data file exists and needs to contain data, so >2kB in size, it also should have VSM or MPMS in the header
vsm.validFile(filename)TRUE if it is a MPMS or VSM DAT file
filename = vsm.getSampleFiles()[1]
vsm.validFile(filename)
#> [1] TRUE