ver 1.1

I still kinda need to deal with a way to prevent errors when no file is present :/
But optimised a bit.