adding to SA extension test & abstracted sample file access