Added permissions to file