I managed to fix it myself
Here's the solution:
Add under (Dont remove)
public Form1()
{
InitializeComponent();
}
--->
public Form1(string caller)
{
InitializeComponent();
//Caller = the path to the file.
}
Program.cs:
static void Main(string [] args)
And:
if (args.Count() == 1)
Application.Run(new Form1(args[0]));
else
Application.Run(new Form1());