Whoever creates the file, or owns the computer on which that file is on, owns that file. It is simple, but may lead to overpriviledge or underpriviledge.