I could do that. The sorting will already be done by filename anyway I guess.
Multiple galleries in separate folders.
Though that way I might still have to use empty files as placeholders since the actual images will be stored on Dropbox or another server. I might just stick to the text file because if I have it reading a directory it will just be using those filenames and pointing to an image elsewhere with the same filename.