Attempting to fix file read/write permission issues