I am in the process of eliminating non-free code from my machines.
I currently am using Veracrypt to lock some files behind encryption, and quite like that I have a .vc file I can easily backup and move.
I want to reproduce this with LUKS, however, all documentation I find make it look like it is aimed to encrypt devices, like USB keys, disks, partitions... Which is really useful, but does not lend itself to have a multitude of encrypted files, or easily making backup of thoses.
Can LUKS be used to have the filesystem in a encrypted file instead of a device ?