Linux doesn't use "\" in paths; it uses "/" instead, which doesn't need to be doubled. I'm not sure why most people don't realize this, but in most contexts Windows code is quite happy to use "/" as well. In any case, since the path is "/home/userrig/test/loops", the correct code is
String filePath = "/home/userrig/test/loops";