Now parses in the file name and put some guidelines for file operations.

Signed-off-by: PandaDragonThing <jacob@linuxrocket.net>