Block device vs files

Yes you can use a partition and we would recommend that over files for the reasons discussed here: