Is there any method in java to distinguish whether a file/folder is a user's file/folder? whether the file/folder is system/program file? One can consider a simple text file created by user and text file containing log created by operating system. How can one distinguish between the two? Who created the file this information could be helpful. It would be great help with an example code in Java. Is there any method in java to distinguish whet