Dangerous? A swap partition is not dangerous. It is a differently formatted swap but does the same job. There might be performance advantages when using swap partitions instead of swap files but not always and not necessarily. It is a complex topic.A swap file is not swap partition, perhaps it lesser dangerous, is it?
In general both swap files and swap partitions do the same job.
Anyway, the discussion is way off topic, so let's stay focused on solving the misterious files!